Skip to content

Conversation

@jsundai
Copy link
Contributor

@jsundai jsundai commented Dec 17, 2025

What does this PR do?

removes outdated items.

Notes to reviewers

@jsundai jsundai requested a review from a team as a code owner December 17, 2025 21:27
@vercel
Copy link

vercel bot commented Dec 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Jan 10, 2026 3:04am

@github-actions
Copy link
Contributor

github-actions bot commented Dec 17, 2025

📖 Docs PR preview links

@jsundai jsundai changed the title docs standalone landing page and components docs homepage and components Dec 17, 2025
@jsundai jsundai marked this pull request as draft December 17, 2025 21:58
@jsundai jsundai marked this pull request as ready for review January 9, 2026 16:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation homepage by replacing the old Intro component with a new HomePageHero component and removes outdated styling elements.

Changes:

  • Replaced the existing homepage intro component with a new hero section featuring quickstart links, action cards, and community cards
  • Added new CSS styling for the homepage hero component and updated existing custom CSS with new color variables
  • Created SdkLogosAsBlocks component to display SDK logos in block format

Reviewed changes

Copilot reviewed 7 out of 26 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/css/homepage-hero.css New CSS file defining styles for the homepage hero component with responsive design and theme support
src/css/custom.css Added new color variables and normalized quote styles in font-face declarations
src/components/index.js Exported the new HomePageHero component
src/components/elements/SdkLogosAsBlocks.js New component to render SDK logos as clickable blocks
src/components/elements/SdkLogos.js Updated image path for Go SDK logo and normalized quote styles
src/components/elements/HomePageHero.js New homepage hero component with action cards, quickstart links, and community cards
docs/index.mdx Replaced Intro component with HomePageHero and updated page metadata

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

alt: "Go lang logo",
class: "w-10 h-8",
link: '/develop/go',
image: '/img/sdks/svgs/golang-block.svg',
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Go SDK logo image path has been changed to 'golang-block.svg', but this appears inconsistent with the other SDK logos which still use their non-block variants (e.g., 'java.svg', 'python.svg'). This should either use '/img/sdks/svgs/golang.svg' to match the other SDKs, or all SDKs should be updated to use the block variant.

Suggested change
image: '/img/sdks/svgs/golang-block.svg',
image: '/img/sdks/svgs/golang.svg',

Copilot uses AI. Check for mistakes.
<div className="action-icon">{card.icon}</div>
<div className="action-content">
<h3>{card.title}</h3>
<p dangerouslySetInnerHTML={{ __html: card.description }}></p>
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using dangerouslySetInnerHTML with user-controlled or externally sourced content can expose the application to XSS attacks. While the current descriptions appear to be hardcoded strings, consider using React components or a sanitization library to render HTML safely, especially if these descriptions might be sourced from external data in the future.

Copilot uses AI. Check for mistakes.
<div key={index} className="community-card">
<div className="community-icon">{card.icon}</div>
<h3>{card.title}</h3>
<p dangerouslySetInnerHTML={{ __html: card.description }}></p>
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using dangerouslySetInnerHTML with user-controlled or externally sourced content can expose the application to XSS attacks. While the current descriptions appear to be hardcoded strings, consider using React components or a sanitization library to render HTML safely, especially if these descriptions might be sourced from external data in the future.

Copilot uses AI. Check for mistakes.
Comment on lines +31 to +57
const quickstartLinks = [
{
path: '/develop/go/set-up-your-local-go',
name: 'Go Quickstart',
},
{
path: '/develop/java/set-up-your-local-java',
name: 'Java Quickstart',
},
{
path: '/develop/python/set-up-your-local-python',
name: 'Python Quickstart',
},
{
path: '/develop/typescript/set-up-your-local-typescript',
name: 'TypeScript Quickstart',
},
{
path: '/develop/dotnet/set-up-your-local-dotnet',
name: '.NET Quickstart',
},
{
path: '/develop/ruby/set-up-local-ruby',
name: 'Ruby Quickstart',
},
];

Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The quickstartLinks array is defined but never used in the component. This creates dead code that should either be removed or implemented in the UI if intended for future use.

Suggested change
const quickstartLinks = [
{
path: '/develop/go/set-up-your-local-go',
name: 'Go Quickstart',
},
{
path: '/develop/java/set-up-your-local-java',
name: 'Java Quickstart',
},
{
path: '/develop/python/set-up-your-local-python',
name: 'Python Quickstart',
},
{
path: '/develop/typescript/set-up-your-local-typescript',
name: 'TypeScript Quickstart',
},
{
path: '/develop/dotnet/set-up-your-local-dotnet',
name: '.NET Quickstart',
},
{
path: '/develop/ruby/set-up-local-ruby',
name: 'Ruby Quickstart',
},
];

Copilot uses AI. Check for mistakes.
@jsundai
Copy link
Contributor Author

jsundai commented Jan 10, 2026

Going to merge this and we can address the comments and do some refactoring in follow up PRs on Monday.

@jsundai jsundai merged commit d1ec634 into main Jan 10, 2026
10 checks passed
@jsundai jsundai deleted the docs-landing-homepage-update branch January 10, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants